<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
window.onload = function(){
	    var box = document.getElementById("box");
	    box.style.border-right-color = "red";
	    box.style.border-right-style = "solid";
}
</script> 
</head>
<body>
<div id="box" >盒子</div>
</body>
</html> 
